﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BiffenService.Model;

namespace BiffenService.Db
{
    public interface IPriceCategoryDb
    {
        /// <summary>
        /// Method that sends int id in order to finde a price category whit a specific id
        /// </summary>
        /// <param name="id">int id, the priceCategoryId of a specific priceCategory</param>
        /// <returns>A PriceCategory object whit the specific id</returns>
        PriceCategory GetPriceCategory(int id);
        
        /// <summary>
        /// A method to return a list whit all price categories found in the database
        /// </summary>
        /// <returns>List of type PriceCategory whit all price categories</returns>
        List<PriceCategory> GetAllPriceCategories();
    }
}
